package org.yly.game.rpggame.domain.model.player;

import java.util.Date;

import org.yly.game.rpggame.domain.model.DomainEvent;

public class PlayerTouchNpcEvent implements DomainEvent {

    private int eventVersion;
    private Date occurredOn;
    private String playerId;
    private String npcId;
    
    public PlayerTouchNpcEvent(String playerId, String npcId) {

        this.eventVersion = 1;
        this.occurredOn = new Date();
        this.playerId = playerId;
        this.npcId = npcId;
    }
	
	@Override
	public int eventVersion() {
		return eventVersion;
	}

	@Override
	public Date occurredOn() {
		return occurredOn;
	}

	public String getPlayerId() {
		return playerId;
	}

	public String getNpcId() {
		return npcId;
	}

}
